projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c141a6
)
(Footnote-insert-footnote): Fix the search of the last footnote when
author
Michaël Cadilhac
<michael.cadilhac@lrde.org>
Tue, 26 Dec 2006 20:27:12 +0000
(20:27 +0000)
committer
Michaël Cadilhac
<michael.cadilhac@lrde.org>
Tue, 26 Dec 2006 20:27:12 +0000
(20:27 +0000)
`footnote-spaced-footnotes' is nil.
lisp/mail/footnote.el
patch
|
blob
|
history
diff --git
a/lisp/mail/footnote.el
b/lisp/mail/footnote.el
index da7e5fcf579942b8c4d393eb149fbc99b459cac6..b237449002646723b3dd5948528dc598278f5505 100644
(file)
--- a/
lisp/mail/footnote.el
+++ b/
lisp/mail/footnote.el
@@
-501,7
+501,8
@@
styles."
(regexp-quote footnote-end-tag)))
nil t)
(unless (beginning-of-line) t))
- (goto-char (point-max)))))
+ (Footnote-goto-char-point-max)
+ (re-search-backward (concat "^" footnote-section-tag-regexp) nil t))))
(unless (looking-at "^$")
(insert "\n"))
(when (eobp)